package com.guonima.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author : guonima
 * @create : 2017-10-28-22:21
 */
@FeignClient(value = "EUREKA-CLIENT")
public interface TestFeign {

    @RequestMapping("/test")
    public String test(@RequestParam(value = "name") String name);

}
